package bridge.carexample;

import java.util.List;

public abstract class Car {
    // 引用Engine:
    protected Engine engine;
    protected Seat seat;

    public Car(Engine engine, Seat seat) {
        this.engine = engine;
        this.seat = seat;
    }

    public abstract void drive();
}